//
//  EFAPjtDevEditTCell.m
//  efairy
//
//  Created by XiangDongMBP on 2017/8/15.
//  Copyright © 2017年 East. All rights reserved.
//

#import "EFAPjtDevEditTCell.h"

@implementation EFAPjtDevEditTCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    [self.editBtn addTarget:self action:@selector(editBtnTapped:) forControlEvents:UIControlEventTouchUpInside];
    [self.delBtn addTarget:self action:@selector(delBtnTapped:) forControlEvents:UIControlEventTouchUpInside];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)editBtnTapped:(UIButton *)btn {
    if ([self.delegate respondsToSelector:@selector(pjtDevEditTCell:editBtnTapped:)]) {
        [self.delegate pjtDevEditTCell:self editBtnTapped:btn];
    }
}

- (void)delBtnTapped:(UIButton *)btn {
    if ([self.delegate respondsToSelector:@selector(pjtDevEditTCell:delBtnTapped:)]) {
        [self.delegate pjtDevEditTCell:self delBtnTapped:btn];
    }
}

@end
